package com.wiiss.ams.util;

import cn.hutool.json.JSONObject;

import java.util.Map;

public class Cache {

	private static JSONObject content = new JSONObject();

	public static <T> T get(String expression, Class<T> resultType) {
		return content.get(expression, resultType);
	}

	public static void set(String key, Object object) {
		content.set(key, object);
	}

	public static void set(Map<? extends String, ?> m) {
		content.putAll(m);
	}

	private Cache() {
		super();
	}

}
